home *** CD-ROM | disk | FTP | other *** search
/ The Magic of Interactive Entertainment / The Magic of Interactive Entertainment - Disc 1.iso / dosdemos / install.bat next >
DOS Batch File  |  1994-10-03  |  2KB  |  63 lines

  1. @ECHO OFF
  2. REM %1=DRIVE
  3. REM %2=DIRECTORY
  4. REM %3=SIZE NEEDED ON HARD DRIVE
  5. REM %4=COMMAND TO START DEMO
  6. REM %5-%9=NAME OF SOFTWARE
  7. REM -----------------------------
  8. ECHO  
  9. ECHO ╔═════════════════════════════════════════════════════╗
  10. ECHO ║                                                     ║
  11. ECHO ║ The Magic of Interactive Entertainment, 2nd Edition ║
  12. ECHO ║                                                     ║
  13. ECHO ║ CD-ROM Installation Program                         ║
  14. ECHO ║                                                     ║
  15. ECHO ╚═════════════════════════════════════════════════════╝
  16. ECHO  
  17. ECHO  
  18. ECHO ─────────────────────────────────────────────────────────────
  19. ECHO   The files for the %5 %6 %7 %8 %9
  20. ECHO   demo will be installed to your %1 hard drive.
  21. ECHO.
  22. ECHO   You need at least %3 megabytes of free space on your
  23. ECHO   %1 hard drive to install this software.
  24. ECHO.
  25. ECHO   If this is NOT what you want to do, press the
  26. ECHO   Ctrl + C keys to stop this batch program.
  27. ECHO ─────────────────────────────────────────────────────────────
  28. ECHO  
  29. ECHO  
  30. ECHO  
  31. PAUSE Paused... press any key to continue the installation
  32. CLS
  33. ECHO  
  34. ECHO ┌───────────────────────────────────────────────────────────────────────┐
  35. ECHO │ The software will now be installed to your %1 hard drive.             │
  36. ECHO │ You'll see a message telling you when the installation is finished.   │
  37. ECHO └───────────────────────────────────────────────────────────────────────┘
  38. IF EXIST C:\DOSDEMOS\nul GOTO COPYING
  39. MD C:\DOSDEMOS
  40. :COPYING
  41. MD C:\DOSDEMOS\%2
  42. \DOSDEMOS\%2\%2.EXE %1\DOSDEMOS\%2
  43. CLS
  44. ECHO 
  45. ECHO  
  46. ECHO ════════════════════════════════════════════════════════════════════════
  47. ECHO.
  48. ECHO   The installation of the %5 %6 %7 %8 %9
  49. ECHO   demo is complete! You'll find the files in the %1\DOSDEMOS\%2
  50. ECHO   directory. To change to this directory, exit this menu program,
  51. ECHO   type %1, press the Enter key, type CD \DOSDEMOS\%2 and press Enter.
  52. ECHO.
  53. ECHO   To start the program, type %4 and press Enter. Make sure you've 
  54. ECHO   read the documentation for this program in the CD-ROM's menu program.
  55. ECHO   Many of these programs have special system requirements.
  56. ECHO   You may also need to run a setup program before running the demo.
  57. ECHO.
  58. ECHO ════════════════════════════════════════════════════════════════════════
  59. ECHO  
  60. ECHO  
  61. pause
  62. cls
  63.